/* eslint-disable prettier/prettier */
import React from 'react';
import { createStackNavigator } from '@react-navigation/stack';
import Article from '../Article/index';
import ArticleInfo from '../ArticleInfo/index';

const Stack = createStackNavigator();


 function Home() {
  return (
    <Stack.Navigator>
      <Stack.Screen
        name="Home"
        component={Article}
        options={{
          title: '首页',
        }} />
      <Stack.Screen name="ArticleInfo" component={ArticleInfo} />
    </Stack.Navigator>
  );
}

export default Home;

